Ext.define('Seq.form.Basic', {
	        override : 'Ext.form.Basic',

	        isValid : function() { // 隐藏和禁用的field不校验
		        var me = this, invalid;
		        Ext.suspendLayouts();
		        invalid = me.getFields().filterBy(function(field) {
			                if (field.isVisible()) {
				                return !field.validate();
			                }
		                });
		        Ext.resumeLayouts(true);
		        return invalid.length < 1;
	        }

        });
